home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / astroega.arc / ASTRO.TXT < prev    next >
Text File  |  1987-01-03  |  8KB  |  168 lines

  1.  
  2.                                       ASTRO
  3.                                An Astronomy Program
  4.                                   By Don Thayer
  5.                                   January 3,1987
  6.       
  7.                                 Files description:
  8.              ASTRO.COM  ...... Standard EGA Astronomy Program
  9.              ASTRO87.COM ..... EGA with 8087 Coprocessor Version
  10.              ASTRO.TXT ....... This Document
  11.       
  12.       Please note:  Both these programs require an EGA card to run.
  13.          ASTRO87.COM also requires a 8087 math coprocessor.  Both programs
  14.          check for the presence of an EGA card, however, ASTRO87.COM will
  15.          hang a computer that does not have the  8087.
  16.       
  17.       The algorithms for calculating data for "Orbital Data of Planets" and
  18.       "Rise and Set Times" were translated to Turbo Pascal from a basic
  19.       language book titled "Celestial Basic" by Eric Burgess published by
  20.       Sybex.
  21.       
  22.       From the Selection Menu, you can choose four different astronomy
  23.       routines.  Whenever you quit from one of these routines, you will be
  24.       returned to this menu.  To exit from the program altogether, press the
  25.       "Q" key from the Selection Menu.
  26.       
  27.                          ****** ASTRONOMY ROUTINES ******
  28.       
  29.       ORBITAL DATA OF PLANETS:
  30.       This routine calculates the Heliocentric Longitude (in degrees),
  31.       Distance from the Sun (in AU), Right Ascension (in hours), Declination
  32.       (in degrees) and the Distance From the Earth (in AU).  Once the data
  33.       has been displayed, the following line will be displayed at the bottom
  34.       of the screen:
  35.       
  36.             G = Graph    P = Print    N = New Date    Q = Quit
  37.       
  38.       Press the "G" key for a graphic representation of the solar system.
  39.       Press the "P" key for the data to be printed on the printer.  Pressing
  40.       the "N" key will prompt you for a new date and pressing the "Q" key
  41.       will return you to the Selection Menu.
  42.       
  43.       If you choose to print the data on a printer, the program will ask if
  44.       you want to advance the printer.  Pressing the "Y" key will advance
  45.       the printer to the top of the next sheet. This option was added
  46.       because you can print up to any two sets of data on one sheet if you
  47.       wish.
  48.       
  49.       The graphics of the solar system shows relation ship between the
  50.       planets and although the distances between the orbits are
  51.       proportional, the orbits themselves are circular instead of the true
  52.       elliptical ones.
  53.       
  54.       The orbit of pluto is not shown and for certain dates (such as Jan. 1,
  55.       1900) the planet is off the screen.
  56.  
  57.                                      *******
  58.       
  59.       RISE AND SET TIMES:
  60.       This routine will calculate the approximate rise and set times for all
  61.       the planets plus the Sun and Moon.  Also shown is the transit time,
  62.       R.A., declination, distance from the Earth and the angular distance
  63.       from the Sun.
  64.       
  65.       After the data is displayed you may print the data on the printer,
  66.       select a new date or quit to the Selection Menu.
  67.       
  68.                                      *******
  69.       
  70.       PHASES OF THE MOON:
  71.       This routine requires only the Year and Month.  Once this is entered,
  72.       the program calculates the date of the first full moon prior to the
  73.       date entered and then will display the next three sets of dates for
  74.       the four phases of the Moon.
  75.       
  76.                                      *******
  77.       
  78.       SOLAR SYSTEM SIMULATOR:
  79.       This option will produce a graphic working model of the solar system.
  80.       In addition to the year, month and day, this routine also requires the
  81.       interval in days, the innermost planet and the Outer planet.
  82.       
  83.       The interval in days affects the speed at which the planets appear to
  84.       move.  Since Mercury travels around the Sun in approximately 88 days,
  85.       it will move fairly rapidly with a one day interval.  Pluto on the
  86.       other hand will require an interval of several hundred days.
  87.       
  88.       The interval you enter must be an integer greater than zero.
  89.       
  90.       After the interval in days is entered, the program will prompt you for
  91.       the "Innermost Planet Number" and then the "Outer Planet Number".
  92.       Select the planet number from the table shown at the bottom of the
  93.       screen.  Also the outer planet number must equal to or greater than
  94.       the innermost planet number.
  95.       
  96.       If you wish, you can display all 9 planets on the screen at the same
  97.       time, however, the inner 4 planets will only appear as a blob in the
  98.       center of the screen.
  99.       
  100.       Once the simulator is running, there are several options that can be
  101.       chosen.  These are displayed in the lower left corner or the screen.
  102.       
  103.       Pressing the "I" key will prompt you for a new interval.  If you wish,
  104.       you can enter a negative number and watch the planets move backwards.
  105.       This is helpful if you want to see a specific date again.
  106.       
  107.       While the simulator is running, certain information is being updated
  108.       on the screen.  The "S" key toggles this updating on and off.  The
  109.       writing of this data on the screen takes time and slows down the
  110.       graphics.  Although the performance on the non-8087 version is small,
  111.       the 8087 version can be dramatically improved by turning off the
  112.       status.
  113.       
  114.       The "C" key will clear the screen and the tracing of the planets paths
  115.       will start where the old screen left off.  This is particularly useful
  116.       when some of the inner planets paths have made a complete revolution.
  117.       It is also useful when you change the direction of movement using the
  118.       "I" key.
  119.       
  120.       Pressing the "P" key will temporarily halt the simulator.  Press any
  121.       other key to start it again.  If you press any of the other option
  122.       keys, they will take effect at this time.
  123.       
  124.       To quit the simulator and return to the Selection Menu press the "Q"
  125.       key.
  126.       
  127.                                      *******
  128.       
  129.       SAMPLE DEMONSTRATION:
  130.       Start the program and select option <S> for the simulator.  Enter the
  131.       date of May 1, 1988.  Enter an interval of one (1) and select Mercury
  132.       as the innermost planet (1) and Mars (4) as the outer planet.  Around
  133.       June 13,1988 you should see the opposition of Mercury, Venus and
  134.       Earth.  A little later in the same year, around September 26 you
  135.       should see the opposition of Earth and Mars.  You may want to compare
  136.       the the Heliocentric Longitude's of these planets for these dates
  137.       using option <O> from the Selection Menu.
  138.       
  139.                                      *******
  140.       
  141.       ACCURACY:
  142.       This program is by no means exact.  To the best of my knowledge it is
  143.       fairly accurate, however, there are a number of astronomical
  144.       corrections not allowed for such as precession.  Also much of the
  145.       original data was limited to only a few significant figures.
  146.       Admittedly this makes poor use of the 8087 with its 16 digit accuracy.
  147.       
  148.       From an astronomer's point of view, my knowledge of astronomy is nil
  149.       and of the related math, it is even less.  There are several very good
  150.       astronomy program available for the PC, however, none of them that I
  151.       have found combine the planetary data and graphics the way this one
  152.       does.
  153.       
  154.       If you have any comments, suggestions or information on how I can
  155.       increase the accuracy of this program, please write to me at the
  156.       following address:
  157.       
  158.                         Don Thayer
  159.                         1675 Hays St. #207
  160.                         San Leandro, Ca  94577
  161.       
  162.       The programs ASTRO.COM and ASTRO87.COM along with this document file
  163.       may be distributed freely among users and user groups in their
  164.       original and unmodified form.  No profit either monetary or otherwise
  165.       shall be gained from the sale of these programs.
  166.  
  167.  
  168.